#!/usr/bin/python
import math
import cv2

arr = [1,2,3,4]
arr.append(arr.pop(0))
print(arr)

for row in range(math.floor(len(arr)/2)):
  print(row)